package com.atguigu.gulimall.order.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimall-member")
public interface MemberFeignService {

    /**
     * 根据用户id查询用户地址
     */
    @RequestMapping("/member/memberreceiveaddress/{memberId}/getAddress")
    R getAddress(@PathVariable("memberId") Long memberId);
}
